import request from '@/utils/request'

// 查询货币转换配置列表
export function listMoneyChangeConfig(query) {
  return request({
    url: '/money/moneyChangeConfig/list',
    method: 'get',
    params: query
  })
}

// 查询货币转换配置详细
export function getMoneyChangeConfig(id) {
  return request({
    url: '/money/moneyChangeConfig/' + id,
    method: 'get'
  })
}

// 新增货币转换配置
export function addMoneyChangeConfig(data) {
  return request({
    url: '/money/moneyChangeConfig',
    method: 'post',
    data: data
  })
}

// 修改货币转换配置
export function updateMoneyChangeConfig(data) {
  return request({
    url: '/money/moneyChangeConfig',
    method: 'put',
    data: data
  })
}

// 删除货币转换配置
export function delMoneyChangeConfig(id) {
  return request({
    url: '/money/moneyChangeConfig/' + id,
    method: 'delete'
  })
}
